home *** CD-ROM | disk | FTP | other *** search
/ Programming Windows 95 with MFC / Programming Windows 95 with MFC (Microsoft Programming Series)(097-0001465)(1996).iso / CODE / Chap07 / IdleDemo / IdleDemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-05  |  585 b   |  28 lines

  1. //***********************************************************************
  2. //
  3. //  IdleDemo.h
  4. //
  5. //***********************************************************************
  6.  
  7. class CMyApp : public CWinApp
  8. {
  9. public:
  10.     virtual BOOL InitInstance ();
  11.     virtual BOOL OnIdle (LONG);
  12. };
  13.  
  14. class CMainWindow : public CFrameWnd
  15. {
  16. public:
  17.     CMainWindow ();
  18.     BOOL CursorInClient ();
  19.     void UpdateReadout (CDC* = NULL);
  20.  
  21. protected:
  22.     afx_msg void OnPaint ();
  23.     afx_msg void OnMouseMove (UINT, CPoint);
  24.     afx_msg void OnExit ();
  25.  
  26.     DECLARE_MESSAGE_MAP ()
  27. };
  28.